#include <iostream>
using namespace std; 
#include "httplib.h"


#define SEVER_IP "127.0.0.1" 
#define SEVER_PORT 8081
int main()
{
  httplib::Client client(SEVER_IP, SEVER_PORT);  // ip  port
  

  // httplib::MultipartFormData item;
  // item.name = "file";
  // item.filename = "hello.txt";
  // item.content = "Hello World!";
  // item.content_type = "text/plain";

  // httplib::MultipartFormDataItems items;
  // items.push_back(item);

  auto res = client.Get("/hi");

  cout << res->status << endl;
  cout << res->body << endl;
  return 0;
}
